package com.xiaomi.shop.service.impl;

import com.xiaomi.shop.entity.ProductType;
import com.xiaomi.shop.mapper.ProductTypeMapper;
import com.xiaomi.shop.service.ProductTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName 陈欣月
 * @Descripttion TODO
 * @Author cxy
 * @Date 2021/10/13 19:36
 * @Version 1.0
 **/
@Service
public class ProductTypeServiceImpl implements ProductTypeService
{
    @Autowired
    private ProductTypeMapper productTypeMapper;
    @Override
    public List<ProductType> findAll() {
        return productTypeMapper.findAll();
    }
}
